Warning fix in Controllers class