Fix for in/out