fix std_mod layouting issues