fix that weird nil case