Fixes for DB_CUSTOM_V3

Fixed loading DB_CUSTOM_V3 instead of V2
Fixed $INPUT_STRING_X // $INPUT_X