FIX: compiler warnings in esp