fixed prepare warning