beria had disliked g. and had constantly hindered his advancement , sidetracking him away from the main ladder of power into one of the minor departments of the then ministry of state security , which , on the death of stalin , beria had quickly abolished as a ministry .