controller passing bug