fixed a bug on method not returning there values