fix for mixed up params