user fix for php5.5(WTF?!) and fix view torrents