Fixed function bug 2