Fixed the UA with thanks to Luna