Fixed an unclosed method