Fix server variables
Auto get path when router be called