index/register php fix