debug out
fix php error
some tests for tom