fix allow action
fix php notice