Added default case for fixing findbugs problem