Fixed array length problem