quick length conversion fix