fixed wrond onlick method caused by duplicated layout