fix suggested on phoenixframework.org