Fixed wrong previous class