reworked PSrl parser, fixed fp issues