identation fix and return type check