Philipp educated me on proper handler functions. Fixed the problem I introduced.