Fixed function bug 3