fix releases flag, thanks @deafbybeheading