fix bugs controllers methods